import styled from "styled-components";

export const SearchBox = styled.div`
  position: absolute;
  top: 1.5%;
  left: 35%;
  transform: translate(-50%);
  display: flex;
  width: 16rem;
  height: 2rem;
  margin-left: 0.5rem;
  background: none;
  outline: none;
  svg{
    width:2rem;
    height: 2rem;
  }
  .search_location {
    position: relative;
    width: 4rem;
    line-height:2rem;
    font-weight: 600;
    margin-right: 0.5rem;
  }
  .search_location::after {
    content: "";
    position: absolute;
    top: 0.8rem;
    right: 0.3rem;
    width: 0;
    height: 0;
    border: 0.375rem solid transparent;
    border-top: 0.375rem solid #fe4c6a;
  }
  input {
    border: 1px solid red;
    border-radius: 15px;
  }
`;
